<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SaveDebugOutput</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SaveDebugOutput()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SaveDebugOutput</b></font>(Filename$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Save the content of the debug output window to the given file. There is no error if the file 
cannot be saved. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Filename$</i></td>
<td width="90%"> 
 
The filename to save the output to. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">For</font></b> i = 1 <b><font color="#006666">To</font></b> 100
    <b><font color="#006666">Debug</font></b> <font color="#006666">Random</font>(i)
  <b><font color="#006666">Next</font></b> i
<font color="#006666">  SaveDebugOutput</font>("C:\log.txt")
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="../reference/ide_debugtools.html">Included debugging tools</a>, 
<a href="../reference/debugger.html">Debug</a>, 
<a href="showdebugoutput.html">ShowDebugOutput()</a>, 
<a href="cleardebugoutput.html">ClearDebugOutput()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=resetprofiler.html>ResetProfiler()</a> - <a href=index.html>Debugger Index</a> - <a href=showassemblyviewer.html>ShowAssemblyViewer()</a> -&gt;



</body></html>